﻿#ifndef SNAPFORM_H
#define SNAPFORM_H

/*
* @author   Puuck
* @date     2020-10-29
*/

#include <QWidget>

#include "AiPtuStruct.h"

namespace Ui {
class SnapForm;
}

class SnapForm : public QWidget {
    Q_OBJECT

public:
    explicit SnapForm(QWidget* parent = nullptr);
    ~SnapForm();

    void onOfflineSnapParam(OfflineSnapParam offlineSnapParam);

private slots:
    void on_pushButton_getOfflineSnapParam_clicked();
    void on_pushButton_setOfflineSnapParam_clicked();

    void on_pushButton_chooseUploadPath_clicked();
    void on_pushButton_upload_clicked();

    void on_pushButton_clearSnap_clicked();

private:
    Ui::SnapForm* ui;

signals:
    void sigGetOfflineSnapParam();
    void sigSetOfflineSnapParam(OfflineSnapParam offlineSnapParam);
    void sigClearOfflineSnap();
};

#endif    // SNAPFORM_H
